package com.yuanfud.configServer;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.config.server.EnableConfigServer;

/**
 * 配置中心
 */
@SpringBootApplication
@EnableConfigServer
public class configServerApplication {
    public static void main(String[] args){
        new SpringApplicationBuilder(configServerApplication.class).web(true).run(args);
    }
}
